export const recruitChildren = [
    {
        label: '申请原因',
        formId: 'reason',
        tag: 'TextArea',
        rules: [
            {
                required: true,
                message: '请输入原因'
            }
        ],
        options: {
            placeholder: '请输入',
            disabled: true,
            maxLength: 500
        }
    },
    {
        label: '需求部门',
        formId: 'organizationName',
        tag: 'Input',
        rules: [],
        options: {
            disabled: true
        },
        isSummary: true,
        inFormAuth: false,
        inRenderDom: false
    },
    {
        label: '需求部门',
        formId: 'recruitment_OrganizationCode',
        tag: 'FunctionalTree',
        rules: [
            {
                required: true
            }
        ],
        options: {
            disabled: true
        },
        inFormAuth: false,
        inRenderDom: false,
        isPreviewField: true
    },
    {
        label: '岗位名称',
        formId: 'dutyName',
        tag: 'Input',
        rules: [],
        options: {
            disabled: true
        },
        isSummary: true,
        inFormAuth: false,
        inRenderDom: false
    },
    {
        label: '需求人数',
        formId: 'recruitNums',
        tag: 'Input',
        rules: [],
        options: {
            disabled: true
        },
        isSummary: true,
        inFormAuth: false,
        inRenderDom: false
    },
    {
        label: '申请成功跳转',
        formId: 'applySuccessUrl',
        tag: 'Input',
        rules: [],
        options: {
            initialValue: '/office/personnelManagement/recruitment/demand/list',
            disabled: true
        },
        inFormAuth: false,
        inRenderDom: false
    }
];
export const recruitControl = {
    label: '招聘需求申请',
    cmpType: 'custom',
    formId: '',
    key: 'Recruit',
    tag: 'Recruit',
    formStyle: true,
    tagIcon: 'iconprocess_common_supplementcard_icon',
    children: recruitChildren,
    proCondition: true,
    isUsed: false
};
